package com.lvmama.rhino.pojo.comment.entity;

import java.io.Serializable;

/**
 * @Author:caoyong
 * @Description: 评论统计
 * @Date：2017/9/19
 */
public class CommentStatistics implements Serializable {
    /**
     * 评论类型，对应EnumForComment中的value
     */
    private Integer commentType;
    /**
     * 点评类型
     */
    private String type;

    /**
     * 总数
     */
    private Integer count;

    /**
     * 百分比
     */
    private Float rate;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Float getRate() {
        return rate;
    }

    public void setRate(Float rate) {
        this.rate = rate;
    }

    public Integer getCommentType() {
        return commentType;
    }

    public void setCommentType(Integer commentType) {
        this.commentType = commentType;
    }

    @Override
    public String toString() {
        return "CommentStatistics{" +
                "commentType=" + commentType +
                ", type='" + type + '\'' +
                ", count=" + count +
                ", rate=" + rate +
                '}';
    }
}
